package com.it.Bean;

import java.io.Serializable;

public class Admin implements Serializable {

    private  Integer id;
    private  String usename;
    private  String password;
    private  Integer age;
    private  String shcool;

    public Admin() {
    }

    public Admin(Integer id, String usename, String password, Integer age, String shcool) {
        this.id = id;
        this.usename = usename;
        this.password = password;
        this.age = age;
        this.shcool = shcool;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", usename='" + usename + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", shcool='" + shcool + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsename() {
        return usename;
    }

    public void setUsename(String usename) {
        this.usename = usename;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getShcool() {
        return shcool;
    }

    public void setShcool(String shcool) {
        this.shcool = shcool;
    }
}
